package com.fenghuajueli.lib_data.entity.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

@Entity
public class DayPlanDbEntity {

    @Id(autoincrement = true)
    private Long id;

    private String plan_name;
    private int resPosition;
    private String color;
    @Unique
    private long create_time;
    private int daka_count;
    private int type;//起床,早晨,中午,晚上
    private long daka_time;
    private String msg;

    @Generated(hash = 994943028)
    public DayPlanDbEntity(Long id, String plan_name, int resPosition, String color,
                           long create_time, int daka_count, int type, long daka_time,
                           String msg) {
        this.id = id;
        this.plan_name = plan_name;
        this.resPosition = resPosition;
        this.color = color;
        this.create_time = create_time;
        this.daka_count = daka_count;
        this.type = type;
        this.daka_time = daka_time;
        this.msg = msg;
    }

    @Generated(hash = 593005050)
    public DayPlanDbEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlan_name() {
        return this.plan_name;
    }

    public void setPlan_name(String plan_name) {
        this.plan_name = plan_name;
    }

    public int getResPosition() {
        return this.resPosition;
    }

    public void setResPosition(int resPosition) {
        this.resPosition = resPosition;
    }

    public String getColor() {
        return this.color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public long getCreate_time() {
        return this.create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public int getDaka_count() {
        return this.daka_count;
    }

    public void setDaka_count(int daka_count) {
        this.daka_count = daka_count;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getDaka_time() {
        return this.daka_time;
    }

    public void setDaka_time(long daka_time) {
        this.daka_time = daka_time;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
